Release 10.1A: OpenEdge Development:
Progress Dynamics Getting Started


Using the Session Manager to edit a session type

When you create a new session type, you can start from nothing or edit an existing session type. For the tutorial, you can extend the Default session type to add a DynSports database connection and launch your DynSports Order Entry window, rather than creating a whole new session type.

To edit the Default session type:

  1. Choose Session Session Type Control from the Administration window. The Session Type Maintenance TreeView appears:
  2. Choose the Session Type Basic Dynamics DynDBBound DynCS node.
  3. Right-click the Default node and choose Add Session Type from the pop-up menu. A Details update page appears:
  4. Type DynSports for the Session type code and DynSports sample application for the Session type description.
  5. Select the WIN32 toggle box in the Valid Operating Systems group.
  6. Select GUI Client from the Available physical session types list.
  7. Choose the Add to selected fields button to move it to the Selected types list.
  8. Choose Save.
  9. Expand the DynSports node.
  10. Right-click the Session Services node and choose Add Session Service from the pop-up menu. A Details update page appears:
  11. Type dynsports for the Physical service code and press the TAB key.
  12. Type dynsports for the Logical service code and press the TAB key.
  13. Choose Save. The Session Type Maintenance TreeView should now look like the following:
  14. Right-click the Session Properties node and choose Add Session Property from the pop-up menu. A Details update page appears:
  15. This page shows the logical properties that are defined for this session type. However, because your new dynsports session type extends the Default session type, it inherits properties from the Default session type and its parent session types.

    The run_local property indicates that the session can run stand-alone, as you want it to do. The startup_procedure property defines which OpenEdge procedure is run when the session starts up. In the Default session type, its value is ICFOBJ|afallmencw. The ICFOBJ parameter indicates that you are launching a dynamic container. The parameter value, afallmencw, is the Progress Dynamics Administration menu. But, for your DynSports session type, you want to launch a different dynamic window: the DynSports Order Entry menu controller that you created, oeMenuWin.

  16. Type startup_procedure for the Property name and press the TAB key.
  17. Type ICFOBJ|oeMenuWin as the Property value, and choose Save, as shown:
  18. Note: The separator character is a pipe ( | ).


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095